#ifndef _GAME_H_
#define _GAME_H_


#include "stdafx.h"
#include <vector>
#include "GameObject.h"
#include "Terrain.h"
#include "camera.h"
enum GAMESTATE
{
	GS_SPLASH,
	GS_ACTIVE,
	GS_WIN,
	GS_OVER,
};




class Game
{
public:
	Game(void);
	~Game(void);
	bool init(HWND wndHandle);
	void shutdown(void);
	int update(void);
	void PreRender();
	void Render();
	void EndRender();
private:
	// timer variables
	LARGE_INTEGER timeStart;
	LARGE_INTEGER timeEnd;
	LARGE_INTEGER timerFreq;
	float anim_rate;
public:
	std::vector<CGameObject*> m_GameObject;
	Terrain* m_pTerrain; 
	Camera   *m_pCamera;
};
#endif